package acme.db;

import java.util.ArrayList;
import java.util.Collection;

import acme.entity.Brand;
import acme.entity.Department;
import acme.entity.Product;

public class DefaultCatalog {

	
	static Collection<Product> provisionProducts(){
		Collection<Product> products = new ArrayList<Product>();
		
		Product p = new Product("1001", "101", "1", "RLX Ralph Lauren Jacket, Paneled Interlock Fleece Track Jacket ",
				"Exquisitely crafted from tight-knit interlock cotton yarns, a full-zip fleece jacket exudes modern style with a smooth, clean face and a luxuriously soft hand.",
				"http://developer.acmeapparelstore.com/Files/RL_Fleece.tif");
		products.add(p);
		
		p = new Product("1002", "102", "1", "Nike Sweatshirts, Classic Fleece Crew", 
				"Casual sportswear from the experts. This crew-neck shirt from Nike is no-fuss style.",
				"http://developer.acmeapparelstore.com/Files/Nike-Fleece-Crew.tif");
		products.add(p);
		
		p = new Product("1003", "103", "1", "Armani Jeans Slim Fit Jeans, Coated Gray Denim",
				"You can't beat the blues, but sometimes you want to change it up a bit. With a dark gray wash, these Armani Jeans remix your look.",
				"http://developer.acmeapparelstore.com/files/armani-jeans-macys-jeans-slim-fit-jeans-coated-gray-denim.jpg");
		products.add(p);
		
		p = new Product("1004", "101", "2", "Lauren by Ralph Lauren Dress, Sleeveless Satin Sheath",
				"A chic boat neckline lends sophisticated appeal to this Lauren by Ralph Lauren dress, tailored from stretch satin with knife pleats at the left waist for a body-contouring fit.",
				"http://developer.acmeapparelstore.com/files/RL-dress.tif");
		products.add(p);
		
		p = new Product("1005", "101", "2", "Lauren by Ralph Lauren Sweater, Matki Long Sleeve Scoopneck Cable-Knit",
				"Metallic threading lends glamorous shimmer to this must-have Lauren by Ralph Lauren sweater, rendered in smooth combed cotton for a warm, cozy fit.",
				"http://developer.acmeapparelstore.com/files/RL-Sweater.tif");
		products.add(p);
		
		p = new Product("1006", "104", "2", "Calvin Klein Dress, Cowl Neck Long Sleeve Abstract Zebra Printed Sweater",
				"Abstract zebra print goes graphic in this black & white Calvin Klein sweater dress -- perfect for standout cold-weather style!",
				"http://developer.acmeapparelstore.com/files/CK-dress.tif");
		products.add(p);
		
		p = new Product("1007", "104", "2", "Calvin Klein Dress, Long Sleeve Scoop Neck Sweater Dress",
				"Calvin Klein's shapely sweater dress features a fabulous, fitted silhouette with gold-buttoned epaulettes at the shoulder as a final flourish.",
				"http://developer.acmeapparelstore.com/files/CK-scoop-dress.tif");
		products.add(p);

		p = new Product("1007", "105", "2", "Tommy Hilfiger Top, Long Sleeve Striped Mock Turtleneck",
				"Go sleek and chic with this striped mock turtleneck from Tommy Hilfiger. Goldtone buttons lend a luxe touch to this versatile basic.",
				"http://developer.acmeapparelstore.com/files/turtleNeck.tif");
		products.add(p);
		
		p = new Product("1008", "101", "3", "Ralph Lauren Baby Coat, Baby Boys Richmond Bomber",
				"The classic bomber jacket is adorably scaled-down in diamond-quilted, lightly filled microfiber for extra warmth and softness.",
				"http://developer.acmeapparelstore.com/files/bomber.tif");
		products.add(p);

		p = new Product("1009", "101", "3", "Ralph Lauren Baby Girl Velour Tunic & Snowflake Legging Set",
				"The pretty set combines a soft velour ruffled tunic with a snowflake-print legging for a cute seasonal outfit.",
				"http://developer.acmeapparelstore.com/files/tunic.tif");
		products.add(p);
		
		p = new Product("1010", "105", "3", "Tommy Hilfiger Kids Sweater, Boys Jake Argyle Sweater",
				"The perfect preppy addition to his seasonal attire is this mock neck quarter-zip from Tommy Hilfiger. Bullet(s) Quarter-zip styling; argyle pattern.",
				"http://developer.acmeapparelstore.com/files/argyle.tif");
		products.add(p);
		
		return products;
	}
	
	static Collection<Brand> provisionBrands(){
		Collection<Brand> brands = new ArrayList<Brand>();
		
		Brand d = new Brand("101", "Ralph Lauren", "Ralph Lauren is a luxury clothing and goods company of the American fashion designer Ralph Lauren.",
				"http://developer.acmeapparelstore.com/brand/");
		brands.add(d);

		d = new Brand("102", "Nike", "Nike, Inc. is a major publicly traded sportswear and equipment supplier based in the United States.",
				"http://developer.acmeapparelstore.com/brand/Nike");
		brands.add(d);

		d = new Brand("103", "Armani", "Giorgio Armani S.P.A. is an international Italian fashion house that designs, manufactures, distributes, and retails haute couture, ready-to-wear, leather goods, shoes, watches, jewelry, accessories, eyewear, cosmetics, and home interiors.",
				"http://developer.acmeapparelstore.com/brand/Armani");
		brands.add(d);

		d = new Brand("104", "Calvin Klein", "Calvin Klein Inc. is a fashion brand founded in 1968 by American fashion designer Calvin Klein.",
				"http://developer.acmeapparelstore.com/brand/CalvinKlein");
		brands.add(d);

		d = new Brand("105", "Tommy Hilfiger", "As one of the world's leading premium lifestyle brands, Tommy Hilfiger delivers superior styling, quality and value to consumers worldwide.  The brand celebrates the essence of Classic American Cool and provides a refreshing twist to the preppy fashion genre.",
				"http://developer.acmeapparelstore.com/brand/TommyHilfiger");
		brands.add(d);
		
		return brands;
	}
	

	static Collection<Department> provisionDepartments(){
		Collection<Department> departments = new ArrayList<Department>();
		
		Department d = new Department("1", "Men", "The Men's department contains apparel suitable for men aged 18 or older.",
				"http://developer.acmeapparelstore.com/department/");
		departments.add(d);

		d = new Department("2", "Women", "The Women's department contains apparel suitable for women aged 18 or older.",
				"http://developer.acmeapparelstore.com/department/Women");
		departments.add(d);

		d = new Department("3", "Kids", "The Kid's department contains apparel suitable for children between the ages of 3 and 16",
				"http://developer.acmeapparelstore.com/department/Kids");
		departments.add(d);
		
		return departments;
	}
}
